package com.example.demo.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.context.annotation.Bean;

import java.io.Serializable;

/**
 * @author liaoxh
 * @create 2021-06-09-20:01
 */
@Data
public class User implements Serializable{
    @TableId(value = "id",type = IdType.AUTO)
    private int id;
    private  String name;
    private  String password;
    @TableField("headUrl")
    String headUrl;
}
